/**
 * Related
 */

$(document).ready(function() {
	recentThumbs.count = 16;
	recentThumbs.onShowOffset = -10;
	recentThumbs.onHideOffset = 10;
	recentThumbs.labelClass = "related";
	recentThumbs.linkHandler = function(t, item) {
		t.click(function(e) {
			bind.stopBubble(e);
			controller.addToNp(item);
			flash.flash("Video","added to now playing");
			return false;
		});
		bind.recent_videos_drag();
	};
	recentThumbs.onInitComplete = function() {
		$("#related")
			.css("height", "67px")
			.css("overflow", "hidden");
		bind.recent_videos_drag();
	};
});